ifneq ($(KERNELRELEASE),)
	obj-m:=mydev.o
else
	KERNELDIR?=/lib/modules/${shell uname -r}/build
	PWD:=${shell pwd}
default:
	${MAKE} -C ${KERNELDIR} M=${PWD} modules
.PHONY : clean
clean: 
	rm -rf .hello* *.o *.ko *.mod.c *.order *.symvers .*.cmd .tmp_versions *.mod
endif
